﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace CJJ_BlogApiV3.Model.DbBaseModel
{
    /// <summary>
    /// 数据库基础信息
    /// </summary>
    [Serializable]
    public class DbBaseModel
    {

        /// <summary>
		/// 编号,数据库自增本表唯一
		/// </summary>
		[SugarColumn(IsPrimaryKey = true,IsIdentity = true)]
        public int KID { get; set; }

        /// <summary>
        /// 状态,1正常数据 0已禁用
        /// </summary>

        public int States { get; set; }

        /// <summary>
        /// 删除,0未删除 1已删除
        /// </summary>
        public int IsDeleted { get; set; }

        /// <summary>
        /// 添加用户
        /// </summary>
        public int CreateUserId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改用户Id
        /// </summary>
        public int? UpdateUserId { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
